home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / dpmigcc5.zip / RSX / SOURCE / DEB / BREAKP.H < prev    next >
C/C++ Source or Header  |  1994-05-27  |  392b  |  21 lines

  1. #define MAX_BP        20
  2.  
  3. #define BP_UNDEF    0
  4. #define BP_ENABLE    1
  5. #define BP_DISABLE    2
  6.  
  7. struct breakpoint {
  8.     unsigned addr;
  9.     unsigned char save;
  10.     unsigned char status;
  11. };
  12.  
  13. extern struct breakpoint bp[MAX_BP];
  14.  
  15. void insert_breakpoints(int pid);
  16. void remove_breakpoints(int pid);
  17. int set_bp(int addr);
  18. int delete_bp(int no);
  19. int disable_bp(int no);
  20. int enable_bp(int no);
  21.